home *** CD-ROM | disk | FTP | other *** search
/ Educational Software Cooperative 4 / Educational Software Cooperative 4.iso / midilang / scale.mpl < prev    next >
Text File  |  1996-02-06  |  822b  |  55 lines

  1. -19642
  2. #
  3. #
  4. #
  5. #    scale.mpl
  6. #
  7. #    Harmony Scale based on your melody
  8. #
  9. #          Author          ID                   Date
  10. #       ------------   -----------          ---------
  11. #     Serge Sibony   100417,2633          09/06/95
  12. #      
  13. #
  14. # This file is a mpl effect definition used by MidiLang
  15. #    MidiLang can be found at the MidiForum, in the
  16. #         Windows sound media library.
  17. #
  18. # This effect will play the scale of your melody
  19. #
  20. #
  21. #
  22.  
  23. label delharm
  24. oldharm 1
  25. end
  26.  
  27.  
  28. label main
  29. v== 10 0
  30.     initharm 1
  31. calcharm 1
  32. v= 10 2
  33.  
  34. Label loop
  35. time+= 240
  36. getharm 1 10 3
  37. v+= 3 48
  38. note=v 3
  39. outmidi
  40.  
  41. v== 10 8
  42. goto end
  43.  
  44. v+= 10 1
  45. goto loop
  46.  
  47. label end
  48. end
  49.  
  50. keydef c c# delharm init_harmony
  51.  
  52. Descript This effect plays the current scale
  53. Descript based on the harmony of your melody